<?php
include $_SERVER['DOCUMENT_ROOT'].'/PariGest/pages/inc/enteteAjax.php';
require_once $REP_CLASS . 'class.Pari.php';
$pari = new Pari($db);
$miseConseillee = "";
try
{
  $pari->setIdCompte($_POST["IdCompte"]);
  $miseConseillee = $pari->selectMiseConseillee($_POST["Cote"]);  
}
catch(MyException $e)
{
  $this->trace->fb('<== Erreur ==>');
  include $_SERVER['DOCUMENT_ROOT'].'/PariGest/pages/inc/catchAjax.php';      
}
?>
<?php echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" ?>
<root>
<MiseConseillee><?php echo $miseConseillee ?></MiseConseillee>
</root>